Daily Coding Problem

Newsletter Image

Messages

2/20/2024
19 : 4

Daily Coding Problem: Problem #1365 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given a complete binary tree, count the number of nodes in faster than O(n) time
2/19/2024
19 : 14

Daily Coding Problem: Problem #1364 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. In a directed graph, each node is assigned an uppercase letter. We define a
2/19/2024
2 : 24

Daily Coding Problem: Problem #1359 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given a stream of elements too large to store in memory, pick a random element
2/19/2024
2 : 7

Daily Coding Problem: Problem #1360 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. One way to unlock an Android phone is through a pattern of swipes across a 1-9
2/19/2024
1 : 45

Daily Coding Problem: Problem #1361 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Affirm. Given a array of numbers representing the stock prices of a company in
2/19/2024
1 : 43

Daily Coding Problem: Problem #1362 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A girl is walking along an apple orchard with a bag in each hand. She likes to
2/19/2024
1 : 42

Daily Coding Problem: Problem #1363 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. On election day, a voting machine writes data in the form (voter_id, candidate_id)
2/13/2024
19 : 14

Daily Coding Problem: Problem #1358 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given an array of numbers representing the stock prices of a company in
2/12/2024
19 : 34

Daily Coding Problem: Problem #1357 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. An XOR linked list is a more memory efficient doubly linked list. Instead of
2/11/2024
19 : 24

Daily Coding Problem: Problem #1356 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Morgan Stanley. In Ancient Greece, it was common to write text with the first line going
2/10/2024
19 : 24

Daily Coding Problem: Problem #1355 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. Given an integer n , return the length of the longest consecutive run of 1 s in
2/6/2024
19 : 14

Daily Coding Problem: Problem #1354 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yelp. You are given an array of integers, where each element represents the maximum
2/5/2024
20 : 24

Daily Coding Problem: Problem #1353 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Write a program to determine how many distinct ways there are to create a max
2/4/2024
19 : 14

Daily Coding Problem: Problem #1352 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. Suppose you are given a table of currency exchange rates, represented as a
2/3/2024
19 : 4

Daily Coding Problem: Problem #1351 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given an array of numbers of length N , find both the minimum and maximum
2/2/2024
19 : 24

Daily Coding Problem: Problem #1350 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given a linked list, remove all consecutive nodes that sum to zero. Print out
2/1/2024
19 : 24

Daily Coding Problem: Problem #1349 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given the sequence of keys visited by a postorder traversal of a binary search
1/31/2024
19 : 4

Daily Coding Problem: Problem #1348 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given a tree where each edge has a weight, compute the length of the longest path
1/30/2024
19 : 24

Daily Coding Problem: Problem #1347 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given a string with repeated characters, rearrange the string so that no two
1/29/2024
19 : 24

Daily Coding Problem: Problem #1346 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given an array of numbers and an index i , return the index of the nearest